package cmd

import (
	"github.com/spf13/cobra"

	"gitee.com/flyspace81/secure-cli/base"
)

const helloUcloud = `
  _   _      _ _         _   _ _____ _                 _ 
  | | | |    | | |       | | | /  __ \ |               | |
  | |_| | ___| | | ___   | | | | /  \/ | ___  _   _  __| |
  |  _  |/ _ \ | |/ _ \  | | | | |   | |/ _ \| | | |/ _\ |
  | | | |  __/ | | (_) | | |_| | \__/\ | (_) | |_| | (_| |
  \_| |_/\___|_|_|\___/   \___/ \____/_|\___/ \__,_|\__,_|

If you want print hello run 'secure hello'
`

//NewCmdInit ucloud init
func NewCmdHello() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "hello",
		Short: "print hello",
		Long:  `print hello.`,
		Run: func(cmd *cobra.Command, args []string) {
			printHello()
		},
	}
	return cmd
}

func printHello() {
	base.Cxt.Println(helloUcloud)
}
